<!--
 * @Author: your name
 * @Date: 2021-11-30 10:00:58
 * @LastEditTime: 2021-12-04 09:29:18
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: /carbon/src/components/Main.vue
-->
<template>
  <div class="main-container">
    <!-- <div class="main-left-container">
      <div class="main-left-container-top">
        <h1 class="main_h1">您通往比特币及其他领域的门户</h1>
        <p>您购买、出售、交易、投资和使用加密货币所需的工具和信息</p>
      </div>
      <div class="main-left-container-center">
        <div>
          <el-image
            src="https://www.bitcoin.com/static/app-store-download@2x-c0dfa664804069713c7ecbc408cc7b38.png"
            fit="cover"
          ></el-image>
        </div>
        <div>
          <el-image
            src="https://www.bitcoin.com/static/google-play-download@2x-c38dedb745c0b0c196806f0c8b6cc3f5.png"
            fit="cover"
          ></el-image>
        </div>
      </div>
      <div class="main-left-container-bottom"><p>给我发短信</p></div>
    </div>
    <div class="main-center-container">
      <el-image
        src="https://www.bitcoin.com/images/uploads/homepage-hero-lg@2x.png"
        fit="contain"
      ></el-image>
    </div> -->
    <div class="main-position" style="height: 100vh">
      <el-carousel height="100vh">
        <el-carousel-item v-for="(item, i) in srcs" :key="i">
          <el-image :src="item" fit="contain"></el-image>
        </el-carousel-item>
      </el-carousel>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      srcs: [
        "http://www.carbonstop.net/static/images/33.jpg",
        "http://www.carbonstop.net/static/images/22.jpg",
        "http://www.carbonstop.net/static/images/11.jpg",
      ],
    };
  },
};
</script>

<style scoped lang="less">
.main-container {
  position: relative;
  top: -108px;
  z-index: 0;
  
}
</style>